package com.koron.configure.dockingconf.mapper;

import com.koron.configure.dockingconf.bean.DockingConfBean;
import com.koron.configure.dockingconf.bean.DockingConfDto;
import com.koron.configure.dockingconf.bean.TipQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: rocky
 * @Date: 2021/11/22 16:42
*/
public interface DockingConfMapper {
    int deleteByPrimaryKey(String id);

    int insert(DockingConfBean record);

    int insertOrUpdate(DockingConfBean record);

    int insertOrUpdateSelective(DockingConfBean record);

    int insertSelective(DockingConfBean record);

    DockingConfBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DockingConfBean record);

    int updateByPrimaryKey(DockingConfBean record);

    int updateBatch(List<DockingConfBean> list);

    int updateBatchSelective(List<DockingConfBean> list);

    int batchInsert(@Param("list") List<DockingConfBean> list);

    //左列表
    List<DockingConfBean> queryByAll(DockingConfDto dto);

    DockingConfBean queryByTip(TipQuery query);

}